<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>强制收集所有现存的垃圾循环周期</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.gc-collect-cycles" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">gc_collect_cycles</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7)</p><p class="refpurpose"><span class="refname">gc_collect_cycles</span> &mdash; <span class="dc-title">强制收集所有现存的垃圾循环周期</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.gc-collect-cycles-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>gc_collect_cycles</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   强制收集所有现存的垃圾循环周期。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.gc-collect-cycles-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.gc-collect-cycles-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   返回收集的循环数量。
  </p>
 </div>


 

 

 

 <div class="refsect1 seealso" id="refsect1-function.gc-collect-cycles-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><a href="features.gc.html" class="link">垃圾回收机制</a></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>